package com.xuxin.baby.contract;

import com.xuxin.baby.bean.BaseBean;
import com.xuxin.baby.bean.UserDataBean;
import com.xuxin.baby.presenter.UserPresenter;
import com.xuxin.baby.presenter.UserRechargePresenter;

/**
 * Created by xu_xin
 * Created on 2020/10/23 0023
 * 充值
 */
public interface UserRechargeContract {

    interface Model {

        void getUserData(UserRechargePresenter presenter, String tenantId, String token, String memberId);

        void recharge(UserRechargePresenter presenter, String tenantId, String token, String memberId, int beans);
    }

    interface View extends BaseContract.view {

        void onSuccess(BaseBean baseBean);

        void onSuccess(UserDataBean userDataBean);
    }

    interface Presenter extends BaseContract.presenter {

        void recharge(String tenantId, String token, String memberId, int beans);

        void getUserData( String tenantId, String token, String memberId);

        void onSuccess(BaseBean baseBean);

        void onSuccess(UserDataBean userDataBean);
    }
}